#include "stdafx.h"
#include "TestSupportHangerGenerator.h"
#include "SupportHangerGenerator.h"

CPPUNIT_TEST_SUITE_REGISTRATION( TestSupportHangerGenerator );


TestSupportHangerGenerator::TestSupportHangerGenerator()
{
}


TestSupportHangerGenerator::~TestSupportHangerGenerator()
{
}

void TestSupportHangerGenerator::TestGenerate()
{
	SupportHangerGenerator generator;

	SupportHangerPoint pt;
	pt.PrjID(_T("1"));
	pt.SupportHangerID(_T("1"));
	pt.VolumeID(_T("1"));
	SupportHanger* pSH = generator.Generate(pt);
	CPPUNIT_ASSERT(pSH);

	delete pSH;
}